package com.qfedu.meidijiaju.service.impl;

import com.qfedu.meidijiaju.entity.SheBeiKind;
import com.qfedu.meidijiaju.mapper.SheBeiKindMapper;
import com.qfedu.meidijiaju.service.SheBeiKindService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SheBeiKindServiceImpl implements SheBeiKindService {
    @Autowired
    private SheBeiKindMapper sheBeiKindMapper;
    @Override
    public List<SheBeiKind> querySheBeiKind() {
        return sheBeiKindMapper.querySheBeiKind();
    }

    @Override
    public int queryCount() {
        return sheBeiKindMapper.queryCount();
    }

    @Override
    public boolean addSheBeiKind(SheBeiKind sheBeiKind) {
        return sheBeiKindMapper.addSheBeiKind(sheBeiKind);
    }

    @Override
    public boolean deleteSheBeiKind(SheBeiKind sheBeiKind) {
        return sheBeiKindMapper.deleteSheBeiKind(sheBeiKind);
    }
}
